<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project source="2.7.1" version="1.0">
This file is intended to be loaded by Logisim (http://www.cburch.com/logisim/).
<lib desc="#Wiring" name="0">
    <tool name="Splitter">
      <a name="fanout" val="4"/>
      <a name="incoming" val="4"/>
    </tool>
    <tool name="Constant">
      <a name="facing" val="south"/>
      <a name="value" val="0x0"/>
    </tool>
  </lib>
  <lib desc="#Gates" name="1">
    <tool name="XOR Gate">
      <a name="facing" val="south"/>
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </tool>
  </lib>
  <lib desc="#Plexers" name="2"/>
  <lib desc="#Arithmetic" name="3"/>
  <lib desc="#Memory" name="4">
    <tool name="ROM">
      <a name="contents">addr/data: 8 8
0
</a>
    </tool>
  </lib>
  <lib desc="#I/O" name="5"/>
  <lib desc="#Base" name="6">
    <tool name="Text Tool">
      <a name="text" val=""/>
      <a name="font" val="SansSerif plain 12"/>
      <a name="halign" val="center"/>
      <a name="valign" val="base"/>
    </tool>
  </lib>
  <main name="main"/>
  <options>
    <a name="gateUndefined" val="ignore"/>
    <a name="simlimit" val="1000"/>
    <a name="simrand" val="0"/>
  </options>
  <mappings>
    <tool lib="6" map="Button2" name="Menu Tool"/>
    <tool lib="6" map="Button3" name="Menu Tool"/>
    <tool lib="6" map="Ctrl Button1" name="Menu Tool"/>
  </mappings>
  <toolbar>
    <tool lib="6" name="Poke Tool"/>
    <tool lib="6" name="Edit Tool"/>
    <tool lib="6" name="Text Tool">
      <a name="text" val=""/>
      <a name="font" val="SansSerif plain 12"/>
      <a name="halign" val="center"/>
      <a name="valign" val="base"/>
    </tool>
    <sep/>
    <tool lib="0" name="Pin">
      <a name="facing" val="west"/>
      <a name="tristate" val="false"/>
    </tool>
    <tool lib="0" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="labelloc" val="east"/>
    </tool>
    <tool lib="1" name="NOT Gate"/>
    <tool lib="1" name="AND Gate"/>
    <tool lib="1" name="OR Gate"/>
  </toolbar>
  <circuit name="main">
    <a name="circuit" val="main"/>
    <a name="clabel" val=""/>
    <a name="clabelup" val="east"/>
    <a name="clabelfont" val="SansSerif plain 12"/>
    <wire from="(630,190)" to="(630,200)"/>
    <wire from="(150,500)" to="(150,570)"/>
    <wire from="(140,210)" to="(140,280)"/>
    <wire from="(180,420)" to="(180,430)"/>
    <wire from="(170,130)" to="(170,140)"/>
    <wire from="(470,170)" to="(470,310)"/>
    <wire from="(520,350)" to="(520,420)"/>
    <wire from="(610,300)" to="(650,300)"/>
    <wire from="(550,310)" to="(550,340)"/>
    <wire from="(550,390)" to="(550,420)"/>
    <wire from="(190,230)" to="(190,250)"/>
    <wire from="(610,170)" to="(610,200)"/>
    <wire from="(200,520)" to="(200,540)"/>
    <wire from="(230,440)" to="(270,440)"/>
    <wire from="(220,150)" to="(260,150)"/>
    <wire from="(570,370)" to="(570,390)"/>
    <wire from="(180,460)" to="(180,490)"/>
    <wire from="(140,420)" to="(140,450)"/>
    <wire from="(180,540)" to="(180,570)"/>
    <wire from="(170,170)" to="(170,200)"/>
    <wire from="(170,250)" to="(170,280)"/>
    <wire from="(130,130)" to="(130,160)"/>
    <wire from="(520,350)" to="(540,350)"/>
    <wire from="(690,190)" to="(720,190)"/>
    <wire from="(150,500)" to="(170,500)"/>
    <wire from="(140,210)" to="(160,210)"/>
    <wire from="(190,150)" to="(190,200)"/>
    <wire from="(200,440)" to="(200,490)"/>
    <wire from="(570,290)" to="(570,340)"/>
    <wire from="(600,400)" to="(610,400)"/>
    <wire from="(660,190)" to="(660,200)"/>
    <wire from="(250,420)" to="(250,430)"/>
    <wire from="(230,520)" to="(230,530)"/>
    <wire from="(240,130)" to="(240,140)"/>
    <wire from="(220,230)" to="(220,240)"/>
    <wire from="(680,240)" to="(680,310)"/>
    <wire from="(240,450)" to="(290,450)"/>
    <wire from="(230,160)" to="(280,160)"/>
    <wire from="(640,170)" to="(640,200)"/>
    <wire from="(620,310)" to="(620,340)"/>
    <wire from="(600,370)" to="(600,400)"/>
    <wire from="(290,420)" to="(290,450)"/>
    <wire from="(280,130)" to="(280,160)"/>
    <wire from="(250,460)" to="(250,490)"/>
    <wire from="(240,170)" to="(240,200)"/>
    <wire from="(610,300)" to="(610,340)"/>
    <wire from="(550,390)" to="(570,390)"/>
    <wire from="(530,170)" to="(530,280)"/>
    <wire from="(720,190)" to="(750,190)"/>
    <wire from="(720,190)" to="(720,350)"/>
    <wire from="(600,190)" to="(630,190)"/>
    <wire from="(240,450)" to="(240,490)"/>
    <wire from="(240,530)" to="(240,570)"/>
    <wire from="(230,160)" to="(230,200)"/>
    <wire from="(230,240)" to="(230,280)"/>
    <wire from="(180,540)" to="(200,540)"/>
    <wire from="(170,250)" to="(190,250)"/>
    <wire from="(230,440)" to="(230,490)"/>
    <wire from="(220,150)" to="(220,200)"/>
    <wire from="(600,290)" to="(600,340)"/>
    <wire from="(220,430)" to="(220,490)"/>
    <wire from="(210,140)" to="(210,200)"/>
    <wire from="(690,190)" to="(690,200)"/>
    <wire from="(250,460)" to="(310,460)"/>
    <wire from="(490,170)" to="(490,300)"/>
    <wire from="(240,170)" to="(300,170)"/>
    <wire from="(620,310)" to="(680,310)"/>
    <wire from="(670,170)" to="(670,200)"/>
    <wire from="(160,420)" to="(160,440)"/>
    <wire from="(150,130)" to="(150,150)"/>
    <wire from="(560,300)" to="(560,340)"/>
    <wire from="(600,290)" to="(620,290)"/>
    <wire from="(110,130)" to="(110,170)"/>
    <wire from="(120,420)" to="(120,460)"/>
    <wire from="(180,160)" to="(180,200)"/>
    <wire from="(630,190)" to="(660,190)"/>
    <wire from="(190,450)" to="(190,490)"/>
    <wire from="(590,240)" to="(590,340)"/>
    <wire from="(220,520)" to="(220,570)"/>
    <wire from="(210,230)" to="(210,280)"/>
    <wire from="(580,280)" to="(580,340)"/>
    <wire from="(230,530)" to="(240,530)"/>
    <wire from="(220,240)" to="(230,240)"/>
    <wire from="(470,310)" to="(550,310)"/>
    <wire from="(590,370)" to="(590,420)"/>
    <wire from="(620,240)" to="(620,290)"/>
    <wire from="(490,300)" to="(560,300)"/>
    <wire from="(210,430)" to="(210,490)"/>
    <wire from="(200,140)" to="(200,200)"/>
    <wire from="(600,190)" to="(600,200)"/>
    <wire from="(510,290)" to="(570,290)"/>
    <wire from="(110,170)" to="(170,170)"/>
    <wire from="(530,280)" to="(580,280)"/>
    <wire from="(120,460)" to="(180,460)"/>
    <wire from="(140,450)" to="(190,450)"/>
    <wire from="(130,160)" to="(180,160)"/>
    <wire from="(270,420)" to="(270,440)"/>
    <wire from="(580,370)" to="(580,400)"/>
    <wire from="(580,170)" to="(580,200)"/>
    <wire from="(190,260)" to="(190,280)"/>
    <wire from="(200,550)" to="(200,570)"/>
    <wire from="(260,130)" to="(260,150)"/>
    <wire from="(160,440)" to="(200,440)"/>
    <wire from="(150,150)" to="(190,150)"/>
    <wire from="(250,210)" to="(290,210)"/>
    <wire from="(570,400)" to="(570,420)"/>
    <wire from="(260,500)" to="(300,500)"/>
    <wire from="(610,400)" to="(610,420)"/>
    <wire from="(210,520)" to="(210,550)"/>
    <wire from="(200,230)" to="(200,260)"/>
    <wire from="(180,430)" to="(210,430)"/>
    <wire from="(170,140)" to="(200,140)"/>
    <wire from="(220,430)" to="(250,430)"/>
    <wire from="(210,140)" to="(240,140)"/>
    <wire from="(660,190)" to="(690,190)"/>
    <wire from="(310,420)" to="(310,460)"/>
    <wire from="(300,130)" to="(300,170)"/>
    <wire from="(630,350)" to="(720,350)"/>
    <wire from="(650,240)" to="(650,300)"/>
    <wire from="(190,260)" to="(200,260)"/>
    <wire from="(200,550)" to="(210,550)"/>
    <wire from="(570,400)" to="(580,400)"/>
    <wire from="(510,170)" to="(510,290)"/>
    <comp lib="0" loc="(150,570)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(230,280)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(140,280)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(240,570)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="1" loc="(680,240)" name="XOR Gate">
      <a name="facing" val="south"/>
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp loc="(630,350)" name="SUM4B"/>
    <comp lib="0" loc="(200,570)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(520,420)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="1" loc="(590,240)" name="XOR Gate">
      <a name="facing" val="south"/>
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="0" loc="(590,420)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(510,170)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
    </comp>
    <comp lib="0" loc="(150,130)" name="Constant">
      <a name="facing" val="south"/>
    </comp>
    <comp lib="0" loc="(130,130)" name="Constant">
      <a name="facing" val="south"/>
    </comp>
    <comp lib="0" loc="(140,420)" name="Constant">
      <a name="facing" val="south"/>
      <a name="value" val="0x0"/>
    </comp>
    <comp lib="0" loc="(190,280)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(170,280)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(280,130)" name="Constant">
      <a name="facing" val="south"/>
      <a name="value" val="0x0"/>
    </comp>
    <comp lib="0" loc="(180,570)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(250,420)" name="Constant">
      <a name="facing" val="south"/>
    </comp>
    <comp lib="0" loc="(670,170)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
    </comp>
    <comp lib="0" loc="(570,420)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(180,420)" name="Constant">
      <a name="facing" val="south"/>
      <a name="value" val="0x0"/>
    </comp>
    <comp lib="0" loc="(310,420)" name="Constant">
      <a name="facing" val="south"/>
      <a name="value" val="0x0"/>
    </comp>
    <comp lib="6" loc="(221,632)" name="Text">
      <a name="text" val="o puede ser la suma de 2 + ca1(0101) + 1 ="/>
    </comp>
    <comp lib="0" loc="(290,420)" name="Constant">
      <a name="facing" val="south"/>
    </comp>
    <comp loc="(260,500)" name="SUM4B"/>
    <comp lib="6" loc="(199,357)" name="Text">
      <a name="text" val="que es 6 + ca2(0010) = 6-2=4"/>
    </comp>
    <comp lib="0" loc="(470,170)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
    </comp>
    <comp lib="0" loc="(300,500)" name="Constant">
      <a name="facing" val="west"/>
    </comp>
    <comp lib="0" loc="(270,420)" name="Constant">
      <a name="facing" val="south"/>
      <a name="value" val="0x0"/>
    </comp>
    <comp lib="6" loc="(206,649)" name="Text">
      <a name="text" val="que es 2 + ca2(0101) = 2-5=-3"/>
    </comp>
    <comp lib="0" loc="(290,210)" name="Constant">
      <a name="facing" val="west"/>
    </comp>
    <comp lib="0" loc="(300,130)" name="Constant">
      <a name="facing" val="south"/>
    </comp>
    <comp lib="0" loc="(610,170)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
    </comp>
    <comp lib="0" loc="(640,170)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
    </comp>
    <comp lib="0" loc="(610,420)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="6" loc="(211,342)" name="Text">
      <a name="text" val="o puede ser la suma de 6 + ca1(0010) + 1 = 6-2=4"/>
    </comp>
    <comp lib="0" loc="(260,130)" name="Constant">
      <a name="facing" val="south"/>
    </comp>
    <comp lib="6" loc="(584,118)" name="Text">
      <a name="text" val="CIRCUITO"/>
      <a name="font" val="SansSerif bold 24"/>
    </comp>
    <comp lib="6" loc="(215,74)" name="Text">
      <a name="text" val="EJEMPLOS"/>
      <a name="font" val="SansSerif bold 24"/>
    </comp>
    <comp loc="(250,210)" name="SUM4B"/>
    <comp lib="0" loc="(490,170)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
    </comp>
    <comp lib="0" loc="(550,420)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(110,130)" name="Constant">
      <a name="facing" val="south"/>
      <a name="value" val="0x0"/>
    </comp>
    <comp lib="0" loc="(220,570)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(170,130)" name="Constant">
      <a name="facing" val="south"/>
      <a name="value" val="0x0"/>
    </comp>
    <comp lib="0" loc="(210,280)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(160,420)" name="Constant">
      <a name="facing" val="south"/>
    </comp>
    <comp lib="1" loc="(650,240)" name="XOR Gate">
      <a name="facing" val="south"/>
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="0" loc="(750,190)" name="Pin">
      <a name="facing" val="west"/>
      <a name="tristate" val="false"/>
      <a name="label" val="S/R"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(240,130)" name="Constant">
      <a name="facing" val="south"/>
    </comp>
    <comp lib="6" loc="(226,616)" name="Text">
      <a name="text" val="Puede ser la suma de 2+10+1=13&lt;16"/>
    </comp>
    <comp lib="0" loc="(580,170)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
    </comp>
    <comp lib="0" loc="(120,420)" name="Constant">
      <a name="facing" val="south"/>
      <a name="value" val="0x0"/>
    </comp>
    <comp lib="1" loc="(620,240)" name="XOR Gate">
      <a name="facing" val="south"/>
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="6" loc="(216,326)" name="Text">
      <a name="text" val="Puede ser la suma de 6+13+1=20&gt;15"/>
    </comp>
    <comp lib="0" loc="(530,170)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
    </comp>
  </circuit>
  <circuit name="FA">
    <a name="circuit" val="FA"/>
    <a name="clabel" val="FA"/>
    <a name="clabelup" val="north"/>
    <a name="clabelfont" val="SansSerif plain 12"/>
    <wire from="(130,110)" to="(130,120)"/>
    <wire from="(130,130)" to="(130,140)"/>
    <wire from="(310,160)" to="(330,160)"/>
    <wire from="(200,130)" to="(200,170)"/>
    <wire from="(180,120)" to="(230,120)"/>
    <wire from="(130,120)" to="(150,120)"/>
    <wire from="(130,130)" to="(150,130)"/>
    <wire from="(180,130)" to="(200,130)"/>
    <wire from="(270,130)" to="(270,150)"/>
    <wire from="(220,130)" to="(220,180)"/>
    <wire from="(270,150)" to="(280,150)"/>
    <wire from="(260,130)" to="(270,130)"/>
    <wire from="(200,170)" to="(280,170)"/>
    <wire from="(220,130)" to="(230,130)"/>
    <wire from="(120,110)" to="(130,110)"/>
    <wire from="(120,140)" to="(130,140)"/>
    <wire from="(120,180)" to="(220,180)"/>
    <wire from="(260,120)" to="(330,120)"/>
    <comp loc="(180,120)" name="HA"/>
    <comp lib="0" loc="(120,110)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="A"/>
    </comp>
    <comp lib="0" loc="(330,120)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="S"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp loc="(260,120)" name="HA"/>
    <comp lib="1" loc="(310,160)" name="OR Gate">
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="0" loc="(120,180)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="Cin"/>
    </comp>
    <comp lib="0" loc="(330,160)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="Cout"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(120,140)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="B"/>
    </comp>
  </circuit>
  <circuit name="HA">
    <a name="circuit" val="HA"/>
    <a name="clabel" val="HA"/>
    <a name="clabelup" val="north"/>
    <a name="clabelfont" val="SansSerif plain 12"/>
    <wire from="(90,120)" to="(120,120)"/>
    <wire from="(120,160)" to="(150,160)"/>
    <wire from="(90,140)" to="(100,140)"/>
    <wire from="(100,140)" to="(140,140)"/>
    <wire from="(100,140)" to="(100,180)"/>
    <wire from="(120,120)" to="(120,160)"/>
    <wire from="(120,120)" to="(140,120)"/>
    <wire from="(180,170)" to="(200,170)"/>
    <wire from="(180,130)" to="(200,130)"/>
    <wire from="(100,180)" to="(150,180)"/>
    <comp lib="0" loc="(200,170)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="C"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="1" loc="(180,130)" name="XOR Gate">
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="0" loc="(200,130)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="S"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(90,140)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="B"/>
    </comp>
    <comp lib="0" loc="(90,120)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="A"/>
    </comp>
    <comp lib="1" loc="(180,170)" name="AND Gate">
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
  </circuit>
  <circuit name="SUM4B">
    <a name="circuit" val="SUM4B"/>
    <a name="clabel" val="SUM4B"/>
    <a name="clabelup" val="north"/>
    <a name="clabelfont" val="SansSerif plain 12"/>
    <wire from="(100,80)" to="(290,80)"/>
    <wire from="(290,170)" to="(290,180)"/>
    <wire from="(290,70)" to="(290,80)"/>
    <wire from="(440,160)" to="(440,180)"/>
    <wire from="(140,110)" to="(180,110)"/>
    <wire from="(340,160)" to="(340,190)"/>
    <wire from="(170,70)" to="(170,100)"/>
    <wire from="(260,150)" to="(260,240)"/>
    <wire from="(110,170)" to="(110,200)"/>
    <wire from="(380,70)" to="(380,160)"/>
    <wire from="(380,190)" to="(470,190)"/>
    <wire from="(270,150)" to="(300,150)"/>
    <wire from="(280,120)" to="(280,160)"/>
    <wire from="(190,160)" to="(210,160)"/>
    <wire from="(240,150)" to="(260,150)"/>
    <wire from="(160,160)" to="(160,210)"/>
    <wire from="(190,110)" to="(190,160)"/>
    <wire from="(290,170)" to="(300,170)"/>
    <wire from="(380,160)" to="(390,160)"/>
    <wire from="(110,200)" to="(250,200)"/>
    <wire from="(240,160)" to="(250,160)"/>
    <wire from="(110,150)" to="(120,150)"/>
    <wire from="(110,170)" to="(120,170)"/>
    <wire from="(200,190)" to="(340,190)"/>
    <wire from="(350,70)" to="(350,120)"/>
    <wire from="(370,90)" to="(370,150)"/>
    <wire from="(190,110)" to="(320,110)"/>
    <wire from="(380,170)" to="(380,190)"/>
    <wire from="(110,70)" to="(110,150)"/>
    <wire from="(100,80)" to="(100,160)"/>
    <wire from="(200,90)" to="(370,90)"/>
    <wire from="(200,170)" to="(200,190)"/>
    <wire from="(200,70)" to="(200,90)"/>
    <wire from="(170,150)" to="(170,240)"/>
    <wire from="(450,150)" to="(450,240)"/>
    <wire from="(170,100)" to="(270,100)"/>
    <wire from="(350,150)" to="(350,240)"/>
    <wire from="(180,150)" to="(210,150)"/>
    <wire from="(420,150)" to="(450,150)"/>
    <wire from="(70,210)" to="(160,210)"/>
    <wire from="(280,160)" to="(300,160)"/>
    <wire from="(330,150)" to="(350,150)"/>
    <wire from="(370,150)" to="(390,150)"/>
    <wire from="(420,160)" to="(440,160)"/>
    <wire from="(140,70)" to="(140,110)"/>
    <wire from="(180,110)" to="(180,150)"/>
    <wire from="(250,160)" to="(250,200)"/>
    <wire from="(320,70)" to="(320,110)"/>
    <wire from="(100,160)" to="(120,160)"/>
    <wire from="(290,180)" to="(440,180)"/>
    <wire from="(150,150)" to="(170,150)"/>
    <wire from="(330,160)" to="(340,160)"/>
    <wire from="(380,170)" to="(390,170)"/>
    <wire from="(150,160)" to="(160,160)"/>
    <wire from="(200,170)" to="(210,170)"/>
    <wire from="(270,100)" to="(270,150)"/>
    <wire from="(280,120)" to="(350,120)"/>
    <comp lib="0" loc="(450,240)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="S0"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp loc="(420,150)" name="FA"/>
    <comp lib="0" loc="(350,240)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="S1"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp lib="0" loc="(350,70)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="B1"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(380,70)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="B0"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(70,210)" name="Pin">
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="S4"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp lib="0" loc="(140,70)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="A2"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp loc="(240,150)" name="FA"/>
    <comp lib="0" loc="(170,70)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="A1"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(170,240)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="S3"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp lib="0" loc="(200,70)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="A0"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(290,70)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="B3"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(320,70)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="B2"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(110,70)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="A3"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(470,190)" name="Pin">
      <a name="facing" val="west"/>
      <a name="tristate" val="false"/>
      <a name="label" val="Cin"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(260,240)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="S2"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp loc="(330,150)" name="FA"/>
    <comp loc="(150,150)" name="FA"/>
  </circuit>
</project>
